package schoolDemo3;

import java.lang.reflect.Array;
import java.util.Arrays;

public class StrToFloat {
    public static void main(String[] args) {
        String mynumber="123.23456";
        int arr[]={1,23,34,54,22,67};
        System.out.println(Float.parseFloat(mynumber)+Array.getInt(arr,1));
        System.out.println(Array.getInt(arr,5));

    }
}
